<?php
require_once 'application/library/db/gcBasicDao.php';
require_once 'application/constant/dbConstant.php';
class dao_T_EC_M_GOODS_SECOND_CATGDao extends gcBasicDao {
    protected $_table = "T_EC_M_GOODS_SECOND_CATG";

    public function pbGetGoodsSecondCategory($firstCatgNo) {
        $sql = "select * from T_EC_M_GOODS_SECOND_CATG where FIRST_CATG_NO = :FirstCatgNo ";
        $parameter = array("FirstCatgNo" =>$firstCatgNo);
        $arrGoodsSecondCategory = $this->select($sql, $parameter, dbReturnType::ALL);
        return $arrGoodsSecondCategory;
    }
}